\hypertarget{classPosition}{\section{Position Class Reference}
\label{classPosition}\index{Position@{Position}}
}


{\ttfamily \#include $<$Position.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPosition_a369a577425f8ba02e8750d04b6a088db}{Position} ()
\item 
virtual \hyperlink{classPosition_abe83df4cab7af756636b4e39e4378f4a}{$\sim$\-Position} ()
\item 
float \hyperlink{classPosition_ae50a1bb26a9e9bdd0ab6007fe92b8408}{get\-Cost} () const 
\item 
void \hyperlink{classPosition_adffd91d80131ac56c5605495038effe8}{set\-Cost} (float \hyperlink{classPosition_a889b33a87383aaad4697ec3eaf57c8e3}{cost})
\item 
bool \hyperlink{classPosition_a98b3a6108040e99f52c35606b2abf907}{has\-Message} () const 
\item 
void \hyperlink{classPosition_a4d9ba5034349233d080e7316d232fa94}{set\-Message} (bool \hyperlink{classPosition_ac1e78a969264cc358c4edd1ed3c8eb58}{message\-Flag})
\item 
string \hyperlink{classPosition_adcc903197aa9d7014854e6bafba3d058}{get\-Symbol} ()
\item 
void \hyperlink{classPosition_ae9dcb2e5cc436d3f20ecf20d155a116b}{set\-Symbol} (string str)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
float \hyperlink{classPosition_a889b33a87383aaad4697ec3eaf57c8e3}{cost}
\item 
bool \hyperlink{classPosition_ac1e78a969264cc358c4edd1ed3c8eb58}{message\-Flag}
\item 
string \hyperlink{classPosition_adaad31088a4e07ec4ba0e84247c7a2b4}{symbol}
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPosition_a369a577425f8ba02e8750d04b6a088db}{\index{Position@{Position}!Position@{Position}}
\index{Position@{Position}!Position@{Position}}
\subsubsection[{Position}]{\setlength{\rightskip}{0pt plus 5cm}Position\-::\-Position (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPosition_a369a577425f8ba02e8750d04b6a088db}
\hypertarget{classPosition_abe83df4cab7af756636b4e39e4378f4a}{\index{Position@{Position}!$\sim$\-Position@{$\sim$\-Position}}
\index{$\sim$\-Position@{$\sim$\-Position}!Position@{Position}}
\subsubsection[{$\sim$\-Position}]{\setlength{\rightskip}{0pt plus 5cm}Position\-::$\sim$\-Position (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classPosition_abe83df4cab7af756636b4e39e4378f4a}


\subsection{Member Function Documentation}
\hypertarget{classPosition_ae50a1bb26a9e9bdd0ab6007fe92b8408}{\index{Position@{Position}!get\-Cost@{get\-Cost}}
\index{get\-Cost@{get\-Cost}!Position@{Position}}
\subsubsection[{get\-Cost}]{\setlength{\rightskip}{0pt plus 5cm}float Position\-::get\-Cost (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classPosition_ae50a1bb26a9e9bdd0ab6007fe92b8408}
\hypertarget{classPosition_adcc903197aa9d7014854e6bafba3d058}{\index{Position@{Position}!get\-Symbol@{get\-Symbol}}
\index{get\-Symbol@{get\-Symbol}!Position@{Position}}
\subsubsection[{get\-Symbol}]{\setlength{\rightskip}{0pt plus 5cm}string Position\-::get\-Symbol (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPosition_adcc903197aa9d7014854e6bafba3d058}
Returns the character of a position, used for printing the map

\begin{DoxyReturn}{Returns}
string of the character 
\end{DoxyReturn}
\hypertarget{classPosition_a98b3a6108040e99f52c35606b2abf907}{\index{Position@{Position}!has\-Message@{has\-Message}}
\index{has\-Message@{has\-Message}!Position@{Position}}
\subsubsection[{has\-Message}]{\setlength{\rightskip}{0pt plus 5cm}bool Position\-::has\-Message (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classPosition_a98b3a6108040e99f52c35606b2abf907}
\hypertarget{classPosition_adffd91d80131ac56c5605495038effe8}{\index{Position@{Position}!set\-Cost@{set\-Cost}}
\index{set\-Cost@{set\-Cost}!Position@{Position}}
\subsubsection[{set\-Cost}]{\setlength{\rightskip}{0pt plus 5cm}void Position\-::set\-Cost (
\begin{DoxyParamCaption}
\item[{float}]{cost}
\end{DoxyParamCaption}
)}}\label{classPosition_adffd91d80131ac56c5605495038effe8}
\hypertarget{classPosition_a4d9ba5034349233d080e7316d232fa94}{\index{Position@{Position}!set\-Message@{set\-Message}}
\index{set\-Message@{set\-Message}!Position@{Position}}
\subsubsection[{set\-Message}]{\setlength{\rightskip}{0pt plus 5cm}void Position\-::set\-Message (
\begin{DoxyParamCaption}
\item[{bool}]{message\-Flag}
\end{DoxyParamCaption}
)}}\label{classPosition_a4d9ba5034349233d080e7316d232fa94}
\hypertarget{classPosition_ae9dcb2e5cc436d3f20ecf20d155a116b}{\index{Position@{Position}!set\-Symbol@{set\-Symbol}}
\index{set\-Symbol@{set\-Symbol}!Position@{Position}}
\subsubsection[{set\-Symbol}]{\setlength{\rightskip}{0pt plus 5cm}void Position\-::set\-Symbol (
\begin{DoxyParamCaption}
\item[{string}]{str}
\end{DoxyParamCaption}
)}}\label{classPosition_ae9dcb2e5cc436d3f20ecf20d155a116b}
Sets the character of the position, used for filling the map


\begin{DoxyParams}{Parameters}
{\em str} & the character to set \\
\hline
\end{DoxyParams}


\subsection{Member Data Documentation}
\hypertarget{classPosition_a889b33a87383aaad4697ec3eaf57c8e3}{\index{Position@{Position}!cost@{cost}}
\index{cost@{cost}!Position@{Position}}
\subsubsection[{cost}]{\setlength{\rightskip}{0pt plus 5cm}float Position\-::cost\hspace{0.3cm}{\ttfamily [private]}}}\label{classPosition_a889b33a87383aaad4697ec3eaf57c8e3}
\hypertarget{classPosition_ac1e78a969264cc358c4edd1ed3c8eb58}{\index{Position@{Position}!message\-Flag@{message\-Flag}}
\index{message\-Flag@{message\-Flag}!Position@{Position}}
\subsubsection[{message\-Flag}]{\setlength{\rightskip}{0pt plus 5cm}bool Position\-::message\-Flag\hspace{0.3cm}{\ttfamily [private]}}}\label{classPosition_ac1e78a969264cc358c4edd1ed3c8eb58}
\hypertarget{classPosition_adaad31088a4e07ec4ba0e84247c7a2b4}{\index{Position@{Position}!symbol@{symbol}}
\index{symbol@{symbol}!Position@{Position}}
\subsubsection[{symbol}]{\setlength{\rightskip}{0pt plus 5cm}string Position\-::symbol\hspace{0.3cm}{\ttfamily [private]}}}\label{classPosition_adaad31088a4e07ec4ba0e84247c7a2b4}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/home/will/workspace/\-Messenger/src/\hyperlink{Position_8h}{Position.\-h}\item 
/home/will/workspace/\-Messenger/src/\hyperlink{Position_8cpp}{Position.\-cpp}\end{DoxyCompactItemize}
